﻿using System.Configuration;

namespace OneWorks.Common.AdoNet.Configuration
{

    public class DbProviderSection : ConfigurationSection
    {
        [ConfigurationProperty("Providers", IsRequired = true)]
        [ConfigurationCollection(typeof(DbProviderCollection), AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")]
        public DbProviderCollection Providers { get { return base["Providers"] as DbProviderCollection; } }

      

    }
}
